<template>
	<view class="agree_text" v-html="content"></view>
</template>
<script>
import {eleBuyAgreement} from "@/api/login";
  export default {
    data() {
      return {
		  content:'',
      }
    },
    created() {
      this.$modal.loading();
		 eleBuyAgreement().then(res => {
			 uni.hideLoading()
		      this.content = res.data.content;
		});
    },
  }
</script>
<style scoped lang="scss">
	page{
		background: $uni-bg-color;
	}
	.agree_text{
		padding:30rpx;
	}
</style>